<template>
	<view class="container">
		<view class="order-box">
			<view class="order-date-num">
				<view class="order-date">2020-01-18</view>
				<view class="order-num">87624324333434</view>
			</view>
			<view class="order-title">报考咨询师方案诊断</view>
			<view class="order-validity">有效期（1年）</view>
			<view class="order-price">¥599</view>
			<view class="order-status-box">
				<view class="order-status">交易已完成</view>
				<view class="order-perfect-info" @tap="goStudentPerfectInfo">完善信息</view>
			</view>
		</view>
		<view class="line"></view>
		<view class="order-box">
			<view class="order-date-num">
				<view class="order-date">2020-01-18</view>
				<view class="order-num">87624324333434</view>
			</view>
			<view class="order-title">招办专家一对一</view>
			<view class="order-validity">有效期（1年）</view>
			<view class="order-price">¥1999</view>
			<view class="order-status-box">
				<view class="order-status">交易已完成</view>
				<view class="order-perfect-info" @tap="goStudentPerfectInfo">完善信息</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		
		methods: {
			
			 goStudentPerfectInfo() {
				 uni.navigateTo({
				 	url: '/pages/student_perfect_info/student_perfect_info'
				 })
			 }
			
		}
	}
</script>

<style>
	.container {
		width: 750rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.order-box {
		width: 700rpx;
		margin-top: 40rpx;
	}
	
	.order-date-num {
		width: 100%;
		color: #666666;
		font-size: 24rpx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	
	.order-title {
		width: 100%;
		color: #333333;
		font-size: 30rpx;
		font-weight: bold;
		margin-top: 20rpx;
	}
	
	.order-validity {
		width: 100%;
		color: #333333;
		font-size: 24rpx;
		margin-top: 20rpx;
	}
	
	.order-price {
		width: 100%;
		color: #e1805b;
		font-size: 48rpx;
		text-align: right;
	}
	
	.order-status-box {
		width: 100%;
		height: 104rpx;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		border-top: 2rpx solid #f5f5f5;
		margin-top: 20rpx;
	}
	
	.order-status {
		color: #333333;
		font-size: 30rpx;
		font-weight: bold;
	}
	
	.order-perfect-info {
		width: 176rpx;
		height: 52rpx;
		background-color: #45d6b7;
		color: #ffffff;
		font-size: 30rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		border-radius: 26rpx;
	}
	
	.line {
		width: 750rpx;
		height: 18rpx;
		background-color: #fafafa;
	}
</style>
